#!/usr/bin/env ruby

$LOAD_PATH.unshift('./lib')
config = './wzly.cfg'

require 'lib/lily'

begin
	env  = load_env(config)
	blog = Lily.new(CGI.new, env)
	blog.disp()
rescue Exception
	error_out()
end
